package cn.yang.domain.rebate.service;

import cn.yang.domain.rebate.model.entity.BehaviorEntity;
import cn.yang.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import cn.yang.types.model.Response;

import java.util.List;

/**
 * @version v1.0
 * @ClassName: cn.yang.domain.rebate.service
 * @Description: 行为返利服务接口
 * @Author: YJ
 */
public interface IBehaviorRebateService {
    /**
     * 创建订单
     *
     * @param behaviorEntity 行为实体
     * @return 返回单号
     */
    List<String> createOrder(BehaviorEntity behaviorEntity);

    /**
     * 根据外部单号查询订单
     * @param userId 用户ID
     * @param outBusinessNo
     * @return
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);


}
